package com.holly.unit.bpmn.activiti.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import com.holly.unit.scanner.api.annotation.field.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 类描述: 获取业务表单信息参数封装
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/3/7 13:16
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ProcessBusiGetFormRequest extends BaseRequest {

    @NotNull(message = "业务表id", groups = {getFormByIdAndName.class})
    @ChineseDescription("业务表id")
    private String tableId;

    @NotNull(message = "业务表名", groups = {getFormByIdAndName.class})
    @ChineseDescription("业务表名")
    private String tableName;

    public @interface getFormByIdAndName{}

}
